package com.qkjia.zqkspringshell.mysql.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = "classpath:mysql.properties")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SqlSource {



    @Value("${url}")
    String url;

    @Value("${driverClass}")
    String driverClass;

    @Value("${sqlusername}")
    String user;

    @Value("${password}")
    String password;



}
